package com.spring.factory;

/**
 *  @author: zheng
 *  @Date: 2020-06-05 18:36
 *  @Description: 获取Bean接口
 */
public interface BeanFactory {

   <T> T getBean(String name);

   <T> T getBean(Class cls) throws Exception;

}
